package com.neusoft.dibuy;

import org.apache.hadoop.conf.Configuration;

public class MyHdfs {
    public static Configuration conf = new Configuration();

    static {
        //添加配置信息
        conf.set("fs.defaultFS", "hdfs://hadoop102:9000");
        conf.set("dfs.replication", "1");
    }
}
